package com.habo.entity;

import java.util.Date;

/**
 * Created by junbb on 2017/3/27.
 */
public class Share {
    private int Sid;
    private String Uid;
    private String Scontent;
    private String Shttp;
    private int Spraise;
    private int Sread;
    private Date Sdate;
    private String Sfrom;


    public Share() {
    }

    public Share(String uid, String scontent, String shttp, Date sdate) {
        Uid = uid;
        Scontent = scontent;
        Shttp = shttp;
        Sdate = sdate;
    }

    public Share(int sid, String uid, String scontent, String shttp, int spraise, int sread, Date sdate) {
        Sid = sid;
        Uid = uid;
        Scontent = scontent;
        Shttp = shttp;
        Spraise = spraise;
        Sread = sread;
        Sdate = sdate;
    }

    public Share(String uid, String scontent, String shttp, Date sdate, String sfrom) {
        Uid = uid;
        Scontent = scontent;
        Shttp = shttp;
        Sdate = sdate;
        Sfrom = sfrom;
    }

    public int getSid() {
        return Sid;
    }

    public void setSid(int sid) {
        Sid = sid;
    }

    public String getUid() {
        return Uid;
    }

    public void setUid(String uid) {
        Uid = uid;
    }

    public String getScontent() {
        return Scontent;
    }

    public void setScontent(String scontent) {
        Scontent = scontent;
    }

    public String getShttp() {
        return Shttp;
    }

    public void setShttp(String shttp) {
        Shttp = shttp;
    }

    public int getSpraise() {
        return Spraise;
    }

    public void setSpraise(int spraise) {
        Spraise = spraise;
    }

    public int getSread() {
        return Sread;
    }

    public void setSread(int sread) {
        Sread = sread;
    }

    public Date getSdate() {
        return Sdate;
    }

    public void setSdate(Date sdate) {
        Sdate = sdate;
    }

    public String getSfrom() {
        return Sfrom;
    }

    public void setSfrom(String sfrom) {
        Sfrom = sfrom;
    }

    @Override
    public String toString() {
        return "Share{" +
                "Sid=" + Sid +
                ", Uid='" + Uid + '\'' +
                ", Scontent='" + Scontent + '\'' +
                ", Shttp='" + Shttp + '\'' +
                ", Spraise=" + Spraise +
                ", Sread=" + Sread +
                ", Sdate=" + Sdate +
                ", Sfrom='" + Sfrom + '\'' +
                '}';
    }
}
